package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.GoodsCommonTagRelation;

@DBMapper
public interface GoodsCommonTagRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsCommonTagRelation record);

    int insertSelective(GoodsCommonTagRelation record);

    GoodsCommonTagRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GoodsCommonTagRelation record);

    int updateByPrimaryKey(GoodsCommonTagRelation record);

    /**
     * 根据条件删除商品标签关联关系表
     * @param goodsCommonTagRelation
     * @return
     */
    int deleteByCondition(GoodsCommonTagRelation goodsCommonTagRelation);
}